/*******************************************************************************
 * Copyright (c) 2010, 2015 git@git.oschina.net:kaiwill/springstage.git
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 *******************************************************************************/
package com.qinyeit.serviceapp.entity.system;

import com.qinyetech.springstage.core.entity.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/** 
 * ClassName: SystemSetting <br/> 
 * Function: 系统配置信息 <br/> 
 * date: 2016-02-24 10:15:45 <br/> 
 * 
 * @author liyang
 * @version  1.0
 * @since JDK 1.7 
 */
@Entity
@Table(name="system_settings")
public class SystemSetting extends AbstractEntity {

	private static final long serialVersionUID = 1L;
	
	// 配置名称
	@Column(name="name")
	private String name = "";
	
	// 属性名称
	@Column(name="set_key")
	private String key = "";
	
	// 属性值
	@Column(name="set_value")
	private String value = "";

	// 备注
	@Column(name="remark", columnDefinition = "mediumtext")
	private String remark = "";
	

	public SystemSetting() {
		
	}

	public SystemSetting(Long id){
    	super.setId(id);
    }

    /*
	public SystemSetting( String name, String key, String value) {
		super();
		this.name = name;
		this.key = key;
		this.value = value;
	}
	*/

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 获取配置名称
	 */
	public String getName() {
		return this.name;
	}

    /**
     * 设置配置名称
     */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * 获取属性名称
	 */
	public String getKey() {
		return this.key;
	}

    /**
     * 设置属性名称
     */
	public void setKey(String key) {
		this.key = key;
	}
	
	/**
	 * 获取属性值
	 */
	public String getValue() {
		return this.value;
	}

    /**
     * 设置属性值
     */
	public void setValue(String value) {
		this.value = value;
	}
	
}
